.PHONY:all
all:debug parser http_server

debug:debug.cc
	g++ -o $@ $^ -std=c++11 -ljsoncpp 

http_server:http_server.cc
	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp

parser:parser.cc
	g++ -o $@ $^ -std=c++11 -lboost_system -lboost_filesystem
	
.PHONY:clean
clean:
	rm -f parser debug http_server